import{On as e,Zn as t,b as n,g as r,k as i,mt as a}from"./CIxmKYxc4tZcJF.js";import{t as o}from"./BM6O3YOS1QRtOq.js";var s=[`src`],c={key:1,class:`app-pdf-thumbnail-placeholder`},l=i({__name:`app-pdf-thumbnail`,props:{assetUrl:{}},setup(i){let l=i,u=r(()=>l.assetUrl);return o.useThumbnail(u),(r,l)=>(a(),n(`div`,{class:t([`app-pdf-thumbnail`,`app-pdf-thumbnail-${i.assetUrl==null?`empty`:e(o).thumbnails[i.assetUrl]?`loading`:`loaded`}`])},[i.assetUrl&&e(o).thumbnails[i.assetUrl]?(a(),n(`img`,{key:0,src:e(o).thumbnails[i.assetUrl]},null,8,s)):(a(),n(`div`,c))],2))}});export{l as default};